//
//  LFGuessTableViewCell.m
//  QingDaoCommunity
//
//  Created by 李学林 on 15/11/25.
//  Copyright © 2015年 teteTechnology. All rights reserved.
//

#import "LFGuessTableViewCell.h"

@interface LFGuessTableViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *guessImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *scoreLabel;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@property (weak, nonatomic) IBOutlet UILabel *detailLabel;

@end

@implementation LFGuessTableViewCell

- (void)awakeFromNib {


}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];



}
- (void)setGuess:(LFGuess *)guess{
    
    
    _guess = guess;
    
    [self.guessImageView sd_setImageWithURL:[NSURL URLWithString:guess.cover]];

    self.titleLabel.text = guess.title;
    self.scoreLabel.text = guess.score;
    self.priceLabel.text = guess.price;
    self.detailLabel.text = guess.intro;

}
@end
